package com.hkts.naturalgas.base.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author yck
 * @since 2021-06-24
 */
public class Layout extends Model<Layout> {

    private static final long serialVersionUID = 1L;

    private String id;
    private LocalDateTime time;
    private Float dxpl3;
    private Float dxpl4;
    private Float xxpl3;
    private Float xxpl4;
    private Float dxtp3;
    private Float dxtp4;
    private Float xxtp3;
    private Float xxtp4;



    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Float getDxpl3() {
        return dxpl3;
    }

    public void setDxpl3(Float dxpl3) {
        this.dxpl3 = dxpl3;
    }

    public Float getDxpl4() {
        return dxpl4;
    }

    public void setDxpl4(Float dxpl4) {
        this.dxpl4 = dxpl4;
    }

    public Float getXxpl3() {
        return xxpl3;
    }

    public void setXxpl3(Float xxpl3) {
        this.xxpl3 = xxpl3;
    }

    public Float getXxpl4() {
        return xxpl4;
    }

    public void setXxpl4(Float xxpl4) {
        this.xxpl4 = xxpl4;
    }

    public Float getDxtp3() {
        return dxtp3;
    }

    public void setDxtp3(Float dxtp3) {
        this.dxtp3 = dxtp3;
    }

    public Float getDxtp4() {
        return dxtp4;
    }

    public void setDxtp4(Float dxtp4) {
        this.dxtp4 = dxtp4;
    }

    public Float getXxtp3() {
        return xxtp3;
    }

    public void setXxtp3(Float xxtp3) {
        this.xxtp3 = xxtp3;
    }

    public Float getXxtp4() {
        return xxtp4;
    }

    public void setXxtp4(Float xxtp4) {
        this.xxtp4 = xxtp4;
    }

    public LocalDateTime getTime() {
        return time;
    }

    public void setTime(LocalDateTime time) {
        this.time = time;
    }

    public static final String ID = "id";

    public static final String DXPL3 = "dxpl3";

    public static final String DXPL4 = "dxpl4";

    public static final String XXPL3 = "xxpl3";

    public static final String XXPL4 = "xxpl4";

    public static final String DXTP3 = "dxtp3";

    public static final String DXTP4 = "dxtp4";

    public static final String XXTP3 = "xxtp3";

    public static final String XXTP4 = "xxtp4";

    public static final String TIME = "time";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    public Layout(String id, LocalDateTime time, Float dxpl3, Float dxpl4, Float xxpl3, Float xxpl4, Float dxtp3, Float dxtp4, Float xxtp3, Float xxtp4) {
        this.id = id;
        this.time = time;
        this.dxpl3 = dxpl3;
        this.dxpl4 = dxpl4;
        this.xxpl3 = xxpl3;
        this.xxpl4 = xxpl4;
        this.dxtp3 = dxtp3;
        this.dxtp4 = dxtp4;
        this.xxtp3 = xxtp3;
        this.xxtp4 = xxtp4;
    }

    @Override
    public String toString() {
        return "Layout{" +
                ", id=" + id +
                ", dxpl3=" + dxpl3 +
                ", dxpl4=" + dxpl4 +
                ", xxpl3=" + xxpl3 +
                ", xxpl4=" + xxpl4 +
                ", dxtp3=" + dxtp3 +
                ", dxtp4=" + dxtp4 +
                ", xxtp3=" + xxtp3 +
                ", xxtp4=" + xxtp4 +
                ", time=" + time +
                "}";
    }
}
